package com.example.myapplication.bases;

import android.os.Bundle;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

import com.example.myapplication.utils.LogUtil;

public class BaseActivity extends AppCompatActivity {
    @Override
    protected void  onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        LogUtil.d("LOG", "onCreate: " + getClass().getSimpleName());
    }
    @Override
    protected void onStart() {
        super.onStart();
        LogUtil.d("LOG", "onStart: " + getClass().getSimpleName());
    }

    @Override
    protected void onRestart() {
        super.onRestart();
        LogUtil.d("LOG", "onRestart: " + getClass().getSimpleName());
    }

    @Override
    protected void onResume() {
        super.onResume();
        LogUtil.d("LOG", "onResume: " + getClass().getSimpleName());
    }

    @Override
    protected void onPause() {
        super.onPause();
        LogUtil.d("LOG", "onPause: " + getClass().getSimpleName());
    }

    @Override
    protected void onStop() {
        super.onStop();
        LogUtil.d("LOG", "onStop: " + getClass().getSimpleName());
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        LogUtil.d("LOG", "onDestroy: " + getClass().getSimpleName());
    }
}
